package day0520;

public class Test3 {
    public static void main(String[] args) {
        /*int i=1000;
        while(i<=2025){
            if(i%400==0 ||  (i%4==0 && i%100!=0)){
                System.out.println(i+ "年，是闰年");
            }
            i++;
        }*/

        for(int i=1000; i<=2025;  i++){
            if(i%400==0 ||  (i%4==0 && i%100!=0)){
                System.out.println(i+ "年，是闰年");
            }
        }



        for(int j=400; j<=10000; j= j+400){
            System.out.println(j);
        }

        /*int j=400;  //399-----10000
        while(j<=10000){
            System.out.println(j);
            j= j+400;
        }*/


    }
}
